package cn.gaozhong.user.mapper;

import cn.gaozhong.user.domain.LoginInfo;
import cn.gaozhong.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gaozhong
 * @since 2022-06-16
 */
public interface LogininfoMapper extends BaseMapper<LoginInfo> {

    LoginInfo loadByUsernameAndType(@Param("username") String username,@Param("type") Integer type);

    LoginInfo loadByUserId(Long userId);
}


